You are here: AgileShapes > MOSS > New Site Collection

New Site Collection

This AgileShape can be used to automatically create a new SharePoint site collection.

 

IMPORTANT: When creating the site collection, a top-level site must already exist, if one does not exist, declare a blank site and enable the Web site via the SharePoint Configuration Manager.

 

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

Design-Time Properties

NOTE: Since this AgileShape is a specialized sub-type of the AgilePart AgileShape, all of the standard properties supported by the AgilePart AgileShape are also supported by this AgileShape. Since they are already documented elsewhere, the standard AgilePart properties are not documented in this section. Refer to the documentation for the AgilePart AgileShape for information about the standard AgilePart properties. Additional design-time properties (other than the standard AgilePart properties) that are specific to this AgileShape are documented below. The properties below are all required fields in order for the new site collection to be created. Below is an example of how these properties can be populated:

 

 

Locale

This property specifies the locale code for the new SharePoint site collection (E.g. 1033).

 

OverWriteSite

Default value: False

This property specifies whether the AgileShape should overwrite the existing site collection if a SharePoint site collection already exists at the location where the new site collection will be created. This property can be set to the following specific values:

 

OwnerEmail

This property specifies the email address of the site owner of the new SharePoint site collection.

 

OwnerLoginName

This property specifies the login name of the site owner of the new SharePoint site collection. The value should be specified using the following format: DomainName\UserName E.g. MyDomain\Administrator

 

OwnerName

This property specifies the display name of the site owner of the new SharePoint site collection.

 

SiteTitle

This property specifies the title for the new SharePoint site collection.

 

SiteURL

This property specifies the URL for the new SharePoint site collection.

 

E.g. http://MachineName:Port/sites/SiteName

 

IMPORTANT: It is required to include the /sites in the SiteURL in order for the site to be created successfully.

 

WebTemplate

This property specifies the name of the SharePoint Team Site template that will be used to create the new SharePoint site collection. This property can be set to the name of any SharePoint Site template (e.g. Team Site).